package com.educhains.module.chat.service;

import com.educhains.module.chat.vo.Message;

import java.util.List;


public interface MessageService {

    /**
     * Add message
     *
     * @param message
     * @return
     */
    int addMessage(Message message);

    /**
     * Get chat log
     *
     * @param messageFromId
     * @param messageToId
     * @return
     */
    List<Message> getChatLog(String messageFromId, String messageToId);


    String getAIChat(String userId, String text);
}
